<template>
    <div class="myCollect">
        <div class="myCollect-header">
            <div class="liuhai"></div>
            <div>
                <div>
                    <i class="myCollect-icon" @click="goTo('/mine')">&#xe600;</i>
                </div>
                <div>
                    <p>我的收藏</p>
                </div>
                <div></div>
            </div>
        </div>
        <div>
            <ul class="myCollect-body-list">
                <li class="myCollect-strategy">
                    <div>
                        <img src="../../../assets/myCollect/img01.png" alt="">
                        <p>两日游</p>
                    </div>
                    <div>
                        <div>
                            <p>四姑娘山两日游自由行(美景+美食)</p>
                            <p>德阳出发</p>
                            <p>双沟桥</p>
                        </div>
                        <div>
                            <p>&#165;450起</p>
                            <p>评分:5.0</p>
                        </div>
                    </div>
                </li>
                <li class="myCollect-scenic">
                    <div>
                        <img src="../../../assets/myCollect/img02.png" alt="">
                    </div>
                    <div>
                        <div>
                            <p>杜甫草堂</p>
                        </div>
                        <div>
                            <p>"访杜甫旧居朝文化圣地"</p>
                        </div>
                        <div>
                            <p>AAAA级景区</p>
                        </div>
                        <div>
                            <i class="myCollect-icon xing myCollect-xing-ture">&#xe601;</i>
                            <i class="myCollect-icon xing myCollect-xing-ture">&#xe601;</i>
                            <i class="myCollect-icon xing myCollect-xing-ture">&#xe601;</i>
                            <i class="myCollect-icon xing myCollect-xing-ture">&#xe601;</i>
                            <i class="myCollect-icon xing myCollect-xing-false">&#xe601;</i>
                            <p>4.6分</p>
                        </div>
                        <div>
                            <p>距离 10.3km</p>
                            <div>&#165;<p>47</p>起</div>
                        </div>
                    </div>
                </li>
                <li class="myCollect-dynamic">
                    <div>
                        <img src="../../../assets/myCollect/img03.png" alt="">
                    </div>
                    <div>
                        <div>
                            <p>成都夜生活最热闹的地方--安顺廊桥</p>
                        </div>
                        <div>
                            <img src="../../../assets/chathead/qianji.jpg" alt="">
                            <p>某某某</p>
                        </div>
                        <div>
                            <p>
                                <i class="myCollect-icon">&#xe602;</i>
                                456
                            </p>
                        </div>
                    </div>
                </li>
                <li class="myCollect-scenic">
                    <div>
                        <img src="../../../assets/myCollect/img04.png" alt="">
                    </div>
                    <div>
                        <div>
                            <p>都江堰景区</p>
                        </div>
                        <div>
                            <p>"延续两千年的水利工程"</p>
                        </div>
                        <div>
                            <p>AAAA级景区</p>
                        </div>
                        <div>
                            <i class="myCollect-icon xing myCollect-xing-ture">&#xe601;</i>
                            <i class="myCollect-icon xing myCollect-xing-ture">&#xe601;</i>
                            <i class="myCollect-icon xing myCollect-xing-ture">&#xe601;</i>
                            <i class="myCollect-icon xing myCollect-xing-ture">&#xe601;</i>
                            <i class="myCollect-icon xing myCollect-xing-false">&#xe601;</i>
                            <p>4.7分</p>
                        </div>
                        <div>
                            <p>距离 15.3km</p>
                            <div>&#165;<p>99</p>起</div>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</template>

<script>
    export default {
        methods: {
            goTo(path) {
                this.$router.replace(path)
            },
        }
    }
</script>

<style scoped>
    .myCollect-header {
        width: 100%;
        height: 146px;
        background-color: white;
    }

    /**********************************************字体图标*******************************************************/
    .myCollect-icon {
        font-family: iconfont;
        font-style: normal;
        font-size: 36px;
        color: #333333;
    }

    .myCollect-header > div:nth-child(2) {
        width: 100%;
        height: 96px;
        display: flex;
        flex-direction: row;
    }

    .myCollect-header > div:nth-child(2) > div {
        width: 33%;
        height: 96px;
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .myCollect-header > div:nth-child(2) > div:nth-child(1) > i {
        margin-left: 16px;
    }

    .myCollect-header > div:nth-child(2) > div:nth-child(2) {
        width: 34%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .myCollect-header > div:nth-child(2) > div:nth-child(2) > p {
        font-size: 36px;
        color: #44444a;
    }

    /*******************************************收藏品列表*******************************************************/
    .myCollect-body-list {
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #eeeeee;
    }

    /*********************************************收藏列表大体布局***********************************/
    .myCollect-body-list > li {
        width: 688px;
        height: 240px;
        margin-bottom: 20px;
        display: flex;
        flex-direction: row;
        background-color: white;
    }

    /*****************************************单个列表左右两板块**************************************/
    .myCollect-body-list > li > div:nth-child(1) {
        width: 260px;
        height: 240px;
    }

    .myCollect-body-list > li > div:nth-child(2) {
        width: 428px;
        height: 240px;
    }

    /****************************************收藏攻略样式*******************************************/

    /****************************************左侧图片*********************************************/
    .myCollect-strategy > div:nth-child(1) {
        position: relative;
    }

    .myCollect-strategy > div:nth-child(1) > p {
        width: 100px;
        height: 36px;
        line-height: 36px;
        text-align: center;
        border-top-left-radius: 20px;
        border-bottom-right-radius: 20px;
        color: white;
        background-color: #ec9b38;
        position: absolute;
    }

    .myCollect-strategy > div:nth-child(1) > img {
        width: 260px;
        height: 240px;
        position: absolute;
    }

    /********************************************右侧详情文字部分**************************************/
    .myCollect-strategy > div:nth-child(2) {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .myCollect-strategy > div:nth-child(2) > div:nth-child(1) {
        width: 428px;
        height: 188px;
        display: flex;
        flex-direction: column;
        align-items: start;
    }

    .myCollect-strategy > div:nth-child(2) > div:nth-child(1) > p:nth-child(1) {
        width: 400px;
        height: 72px;
        margin-left: 20px;
        margin-top: 10px;
        display: flex;
        line-height: 36px;
        flex-direction: column;
        font-size: 30px;
    }

    .myCollect-strategy > div:nth-child(2) > div:nth-child(1) > p:nth-child(2) {
        width: 400px;
        height: 26px;
        font-size: 26px;
        margin-left: 20px;
        color: #666666;
    }

    .myCollect-strategy > div:nth-child(2) > div:nth-child(1) > p:nth-child(3) {
        width: 100px;
        height: 36px;
        line-height: 36px;
        text-align: center;
        color: #ec9b38;
        border: 1px #ec9b38 solid;
        border-radius: 8px;
        margin-left: 20px;
        margin-top: 16px;
    }

    .myCollect-strategy > div:nth-child(2) > div:nth-child(2) {
        width: 400px;
        height: 32px;
        margin-left: 20px;
        margin-bottom: 10px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .myCollect-strategy > div:nth-child(2) > div:nth-child(2) > p:nth-child(1) {
        line-height: 32px;
        font-size: 32px;
        color: #ff4646;
    }

    .myCollect-strategy > div:nth-child(2) > div:nth-child(2) > p:nth-child(2) {
        font-size: 24px;
        color: #999999;
    }

    /********************************************收藏景点样式************************************************/

    /****************************************左侧图片*********************************************/

    .myCollect-scenic > div:nth-child(1) img {
        width: 260px;
        height: 240px;
    }
    /****************************************************右侧详情说明文字********************************/
    .myCollect-scenic > div:nth-child(2) > div:nth-child(1){
        width: 428px;
        height: 62px;
        display: flex;
        flex-direction: column;
    }
    .myCollect-scenic > div:nth-child(2) > div:nth-child(1) > p{
        width: 300px;
        height: 30px;
        font-size: 30px;
        margin-left: 20px;
        margin-top: 12px;
        color: #333333;
    }
    .myCollect-scenic > div:nth-child(2) > div:nth-child(2){
        width: 428px;
        height: 38px;
        line-height: 38px;
    }
    .myCollect-scenic > div:nth-child(2) > div:nth-child(2) > p{
        height: 26px;
        width: 408px;
        margin-left: 20px;
        font-size: 26px;
        color: #333333;
    }
    .myCollect-scenic > div:nth-child(2) > div:nth-child(3){
        height: 48px;
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .myCollect-scenic > div:nth-child(2) > div:nth-child(3) > p{
        width: 140px;
        height: 20px;
        color: #989898;
        margin-left: 20px;
    }
    .myCollect-scenic > div:nth-child(2) > div:nth-child(4){
        width: 428px;
        height: 32px;
        margin-left: 4px;
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .xing{
        margin-left: 3px;
        margin-top: -14px;
        display: block;
        width: 20px;
        height: 20px;
        font-size: 20px;
    }
    .myCollect-scenic > div:nth-child(2) > div:nth-child(4) > p{
        margin-left: 23px;
        color: #333333;
    }
    .myCollect-scenic > div:nth-child(2) > div:nth-child(5){
        height: 30px;
        width: 428px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .myCollect-scenic > div:nth-child(2) > div:nth-child(5) > p:nth-child(1){
        margin-left: 20px;
        width: 200px;
        height: 20px;
        color: #989898;
    }
    .myCollect-scenic > div:nth-child(2) > div:nth-child(5) > div:nth-child(2){
        width: 100px;
        height: 28px;
        font-size: 24px;
        margin-top: 20px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-end;
    }
    .myCollect-scenic > div:nth-child(2) > div:nth-child(5) > div:nth-child(2) > p{
        color: #f77754;
        font-size: 28px;
    }
    .myCollect-xing-ture{
        color: #e8a41c;
    }
    .myCollect-xing-false{
        color: #c1c1c1;
    }

    /*********************************************驴友动态收藏********************************************/

    /*****************************************************左侧插图*****************************************************/
    .myCollect-dynamic > div:nth-child(1) img{
        width: 260px;
        height: 240px;
    }
    /***************************************右侧文字详情***************************************/
    .myCollect-dynamic > div:nth-child(2){
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .myCollect-dynamic > div:nth-child(2) > div:nth-child(1){
        width: 428px;
        height: 82px;
        font-size: 30px;
    }
    .myCollect-dynamic > div:nth-child(2) > div:nth-child(1) > p{
        width: 398px;
        height: 82px;
        margin-top: 30px;
        margin-left: 20px;
    }
    .myCollect-dynamic > div:nth-child(2) > div:nth-child(2){
        width: 428px;
        height: 40px;
        margin-top: 50px;
        margin-left: 20px;
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .myCollect-dynamic > div:nth-child(2) > div:nth-child(2) > img{
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }
    .myCollect-dynamic > div:nth-child(2) > div:nth-child(2) > p{
        margin-left: 12px;
        color: #44444a;
    }
    .myCollect-dynamic > div:nth-child(2) > div:nth-child(3){
        width: 428px;
        height: 36px;
        margin-top: 10px;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
    }
    .myCollect-dynamic > div:nth-child(2) > div:nth-child(3) i{
        color: #999999;
        font-size: 32px;
    }
    .myCollect-dynamic > div:nth-child(2) > div:nth-child(3) p{
        margin-right: 10px;
        color: #999999;
    }
</style>